package mvp.com.register.model.impl;

import mvp.com.register.model.ISplashBiz;
import mvp.com.register.view.ISplashView;

/**
 * Created by Administrator on 2016/9/17 0017.
 */
public class SplashBiz implements ISplashBiz {

    @Override
    public void splash(final ISplashView.OnSplashListener splashListener) {
        new Thread() {
            @Override
            public void run() {
                try {
                    Thread.sleep(2000);
                } catch (InterruptedException e) {
                    e.printStackTrace();
                }
                splashListener.success();
//                splashListener.newVersion();
            }

        }.start();
    }
}
